Skip to content

Fixup#735

Merged
JacobBarthelmeh merged 1 commit intowolfSSL:masterfrom
ejohnstown:fixup
Aug 16, 2024
Merged

Fixup#735
JacobBarthelmeh merged 1 commit intowolfSSL:masterfrom
ejohnstown:fixup

Conversation

@ejohnstown
Copy link
Copy Markdown
Contributor

  1. Initialize a local variable DoKexInit() as a compiler complains it is getting used with a garbage value. (Not true, but hushing the compiler.)
  2. In GetInputText() and GetInputData(), set the error value into ssh->error and just return WS_ERROR.

1. Initialize a local variable DoKexInit() as a compiler complains it is
   getting used with a garbage value. (Not true, but hushing the
   compiler.)
2. In GetInputText() add braces around the error check if clauses, and
   give the version error its own check instead of a ternary return.
3. In GetInputData(), if the recv return was anything else, return a
   general socket error.
@JacobBarthelmeh JacobBarthelmeh merged commit d57f53b into wolfSSL:master Aug 16, 2024
@ejohnstown ejohnstown deleted the fixup branch August 16, 2024 22:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants